package com.wmmb.service;

import com.wmmb.dao.GiveRuleDao;
import com.wmmb.entity.BGiveRule;

public class GiveRuleService {

	private GiveRuleDao giveRuleDao;
	
	public BGiveRule getGiveRule(Long eaId){
		Object object = giveRuleDao.getGiveRule(eaId);
		if (object == null) {
			return null;
		}
		return (BGiveRule)object;
	}

	public GiveRuleDao getGiveRuleDao() {
		return giveRuleDao;
	}

	public void setGiveRuleDao(GiveRuleDao giveRuleDao) {
		this.giveRuleDao = giveRuleDao;
	}
}
